package com.ty.tymusic.enums;

public enum MusicStatus {
    DRAFT("0", "草稿状态"),
    PUBLISHED("1", "上架状态"),
    CLOSED("", "下架状态");

    private final String code;

    private final String message;

    MusicStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
